package com.ruoyi.core.domain;

import java.util.Date;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 快递发货对象 orders
 * 
 * @author lgc
 * @date 2020-08-10
 */
public class Orders extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单号 */
    @Excel(name = "订单号")
    private Long ordersId;

    /** null */
    private String openId;

    /** 卡号-物流吗 */
    @Excel(name = "卡号-物流吗")
    private String logisticsCode;

    /** 密码-防伪码 */
    @Excel(name = "密码-防伪码")
    private String fwCode;

    /** 序号 */
    @Excel(name = "序号")
    private String codeIndex;

    /** -1快递 */
    private Long shopId;

    /** 收货类型 */
    @Excel(name = "收货类型")
    private Integer orderType;

    /** 状态 */
    @Excel(name = "状态")
    private Integer state;

    /** 发货时间 */
    @Excel(name = "发货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date finishDate;

    /** 收货地址 */
    @Excel(name = "收货地址")
    private String orderAddress;

    /** 收货人 */
    @Excel(name = "收货人")
    private String consignee;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String tel;

    /** null */
    private Date appointmentDate;

    /** 备注 */
    @Excel(name = "备注")
    private String descn;

    /** null */
    private Long createdBy;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdDate;

    /** null */
    private Long lastUpdatedBy;

    /** null */
    private Date lastUpdatedDate;

    /** null */
    private Long isDeleted;

    /** 快递单号 */
    @Excel(name = "快递单号")
    private String expressNumber;

    /** 奖品ID */
    private Long productId;

    /** 快递名称 */
    @Excel(name = "快递名称")
    private String logisticsName;

    private Long giftCardId;

    public Long getGiftCardId() {
        return giftCardId;
    }

    public void setGiftCardId(Long giftCardId) {
        this.giftCardId = giftCardId;
    }

    public void setOrdersId(Long ordersId)
    {
        this.ordersId = ordersId;
    }

    public Long getOrdersId()
    {
        return ordersId;
    }

    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setLogisticsCode(String logisticsCode) 
    {
        this.logisticsCode = logisticsCode;
    }

    public String getLogisticsCode() 
    {
        return logisticsCode;
    }
    public void setFwCode(String fwCode) 
    {
        this.fwCode = fwCode;
    }

    public String getFwCode() 
    {
        return fwCode;
    }
    public void setCodeIndex(String codeIndex) 
    {
        this.codeIndex = codeIndex;
    }

    public String getCodeIndex() 
    {
        return codeIndex;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setOrderType(Integer orderType) 
    {
        this.orderType = orderType;
    }

    public Integer getOrderType() 
    {
        return orderType;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setFinishDate(Date finishDate) 
    {
        this.finishDate = finishDate;
    }

    public Date getFinishDate() 
    {
        return finishDate;
    }
    public void setOrderAddress(String orderAddress) 
    {
        this.orderAddress = orderAddress;
    }

    public String getOrderAddress() 
    {
        return orderAddress;
    }
    public void setConsignee(String consignee) 
    {
        this.consignee = consignee;
    }

    public String getConsignee() 
    {
        return consignee;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setAppointmentDate(Date appointmentDate) 
    {
        this.appointmentDate = appointmentDate;
    }

    public Date getAppointmentDate() 
    {
        return appointmentDate;
    }
    public void setDescn(String descn) 
    {
        this.descn = descn;
    }

    public String getDescn() 
    {
        return descn;
    }
    public void setCreatedBy(Long createdBy) 
    {
        this.createdBy = createdBy;
    }

    public Long getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedDate(Date createdDate) 
    {
        this.createdDate = createdDate;
    }

    public Date getCreatedDate() 
    {
        return createdDate;
    }
    public void setLastUpdatedBy(Long lastUpdatedBy) 
    {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Long getLastUpdatedBy() 
    {
        return lastUpdatedBy;
    }
    public void setLastUpdatedDate(Date lastUpdatedDate) 
    {
        this.lastUpdatedDate = lastUpdatedDate;
    }

    public Date getLastUpdatedDate() 
    {
        return lastUpdatedDate;
    }
    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }
    public void setExpressNumber(String expressNumber) 
    {
        this.expressNumber = expressNumber;
    }

    public String getExpressNumber() 
    {
        return expressNumber;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setLogisticsName(String logisticsName) 
    {
        this.logisticsName = logisticsName;
    }

    public String getLogisticsName() 
    {
        return logisticsName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("ordersId", getOrdersId())
            .append("openId", getOpenId())
            .append("logisticsCode", getLogisticsCode())
            .append("fwCode", getFwCode())
            .append("codeIndex", getCodeIndex())
            .append("shopId", getShopId())
            .append("orderType", getOrderType())
            .append("state", getState())
            .append("finishDate", getFinishDate())
            .append("orderAddress", getOrderAddress())
            .append("consignee", getConsignee())
            .append("tel", getTel())
            .append("appointmentDate", getAppointmentDate())
            .append("descn", getDescn())
            .append("createdBy", getCreatedBy())
            .append("createdDate", getCreatedDate())
            .append("lastUpdatedBy", getLastUpdatedBy())
            .append("lastUpdatedDate", getLastUpdatedDate())
            .append("isDeleted", getIsDeleted())
            .append("expressNumber", getExpressNumber())
            .append("productId", getProductId())
            .append("logisticsName", getLogisticsName())
            .toString();
    }
}
